<#import "/spring.ftl" as spring />
<html>
<head>
    <title>
    ${springMacroRequestContext.getMessage("continent")}&nbsp;
    <#if RequestParameters.id??>
    ${springMacroRequestContext.getMessage("entity.edit")}
        <#else>
        ${springMacroRequestContext.getMessage("entity.createNew")}
    </#if></title>
</head>
<body>
<h1>${springMacroRequestContext.getMessage("continent")}&nbsp;
<#if RequestParameters.id??>
${springMacroRequestContext.getMessage("entity.edit")}
    <#else>
    ${springMacroRequestContext.getMessage("entity.createNew")}
</#if>
</h1>

<div>
    <a href="viewAll.htm"><@spring.message "entity.viewAll"/></a>
</div>
<div class="marginTop infoBox">
    <form action="save.htm" method="POST">
        <table>
            <tr>
                <td class="formRowLabel"><@spring.message "continent.code"/>*:</td>
                <td><@spring.formInput "entity.code"/></td>
                <td>Two characaters, example "EUR"<@spring.showErrors "<br>"/></td>
            </tr>
            <tr>
                <td class="formRowLabel"><@spring.message "entity.name"/>*:</td>
                <td><@spring.formInput "entity.name"/></td>
                <td><@spring.showErrors "<br>"/></td>
            </tr>
            <tr>
                <td colspan="3">
                    <input type="submit" value="<@spring.message "entity.save"/>"/>
                </td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>